package com.meal.entity.model.swagger;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @program: yzh->LuckyReq
 * @description: 请求模块
 * @author: yangzhanghui
 * @create: 2019-09-11 20:49
 **/
@Data
@ApiModel(value = "抽奖请求体")
public class LuckyReq {
    @NotEmpty(message = "用户id不能为空")
    @ApiModelProperty(value = "用户ID",required = true)
    private String userId;
}